<!DOCTYPE html>
<html lang="zh-CN" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>NES Vue</title>
    <meta name="description" content="NES Vue documents">
    <meta name="generator" content="VitePress v1.0.0-rc.44">
    <link rel="preload stylesheet" href="/nes-vue-docs/assets/style._HeIGs6L.css" as="style">
    
    <script type="module" src="/nes-vue-docs/assets/app.C0hTyZD8.js"></script>
    <link rel="preload" href="/nes-vue-docs/assets/inter-roman-latin.Bu8hRsVA.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="modulepreload" href="/nes-vue-docs/assets/chunks/framework.C5inrWFI.js">
    <link rel="modulepreload" href="/nes-vue-docs/assets/chunks/theme.BlNTesf4.js">
    <link rel="modulepreload" href="/nes-vue-docs/assets/zh_index.md.B5S3gt-n.lean.js">
    <link rel="icon" href="/nes-vue-docs/favicon-32x32.png">
    <link rel="icon" href="/nes-vue-docs/favicon-16x16.png">
    <link rel="apple-touch-icon" href="/nes-vue-docs/apple-touch-icon.png">
    <link rel="manifest" href="/nes-vue-docs/site.webmanifest">
    <meta name="msapplication-TileColor" content="#da532c">
    <meta name="theme-color" content="#ffffff">
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-bf87cd52><!--[--><!--]--><!--[--><span tabindex="-1" data-v-dd2a0346></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-dd2a0346> Skip to content </a><!--]--><!----><header class="VPNav" data-v-bf87cd52 data-v-ceca27d4><div class="VPNavBar top" data-v-ceca27d4 data-v-a4e42996><div class="wrapper" data-v-a4e42996><div class="container" data-v-a4e42996><div class="title" data-v-a4e42996><div class="VPNavBarTitle" data-v-a4e42996 data-v-90809d62><a class="title" href="/nes-vue-docs/zh/" data-v-90809d62><!--[--><!--]--><!--[--><img class="VPImage logo" src="/nes-vue-docs/nes-vue.svg" alt data-v-fdc0db77><!--]--><span data-v-90809d62>NES Vue</span><!--[--><!--]--></a></div></div><div class="content" data-v-a4e42996><div class="content-body" data-v-a4e42996><!--[--><!--]--><div class="VPNavBarSearch search" data-v-a4e42996><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><span class="vp-icon DocSearch-Search-Icon"></span><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-a4e42996 data-v-6a03ef42><span id="main-nav-aria-label" class="visually-hidden" data-v-6a03ef42>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/nes-vue-docs/zh/index.html" tabindex="0" data-v-6a03ef42 data-v-35286554><!--[--><span data-v-35286554>主页</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/nes-vue-docs/zh/guide/getting-started.html" tabindex="0" data-v-6a03ef42 data-v-35286554><!--[--><span data-v-35286554>API</span><!--]--></a><!--]--><!--]--></nav><div class="VPFlyout VPNavBarTranslations translations" data-v-a4e42996 data-v-34c4d512 data-v-a4b0062b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="Change language" data-v-a4b0062b><span class="text" data-v-a4b0062b><span class="vpi-languages option-icon" data-v-a4b0062b></span><!----><span class="vpi-chevron-down text-icon" data-v-a4b0062b></span></span></button><div class="menu" data-v-a4b0062b><div class="VPMenu" data-v-a4b0062b data-v-8b09b3ad><!----><!--[--><!--[--><div class="items" data-v-34c4d512><p class="title" data-v-34c4d512>简体中文</p><!--[--><div class="VPMenuLink" data-v-34c4d512 data-v-4045af9d><a class="VPLink link" href="/nes-vue-docs/" data-v-4045af9d><!--[-->English<!--]--></a></div><!--]--></div><!--]--><!--]--></div></div></div><div class="VPNavBarAppearance appearance" data-v-a4e42996 data-v-b9326fed><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-b9326fed data-v-63d56946 data-v-5aa7a49b><span class="check" data-v-5aa7a49b><span class="icon" data-v-5aa7a49b><!--[--><span class="vpi-sun sun" data-v-63d56946></span><span class="vpi-moon moon" data-v-63d56946></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-a4e42996 data-v-621b213c data-v-2ba99e91><!--[--><a class="VPSocialLink no-icon" href="https://github.com/taiyuuki/nes-vue" aria-label="github" target="_blank" rel="noopener" data-v-2ba99e91 data-v-235b8a9b><span class="vpi-social-github" /></a><a class="VPSocialLink no-icon" href="https://gitee.com/taiyuuki/nes-vue" aria-label target="_blank" rel="noopener" data-v-2ba99e91 data-v-235b8a9b><svg xmlns="http://www.w3.org/2000/svg" name="zi_tmGitee" viewBox="0 0 2000 2000">
<path fill="currentColor"
    d="M898 1992q183 0 344-69.5t283-191.5q122-122 191.5-283t69.5-344q0-183-69.5-344T1525 477q-122-122-283-191.5T898 216q-184 0-345 69.5T270 477Q148 599 78.5 760T9 1104q0 183 69.5 344T270 1731q122 122 283 191.5t345 69.5zm199-400H448q-17 0-30.5-14t-13.5-30V932q0-89 43.5-163.5T565 649q74-45 166-45h616q17 0 30.5 14t13.5 31v111q0 16-13.5 30t-30.5 14H731q-54 0-93.5 39.5T598 937v422q0 17 14 30.5t30 13.5h416q55 0 94.5-39.5t39.5-93.5v-22q0-17-14-30.5t-31-13.5H842q-17 0-30.5-14t-13.5-31v-111q0-16 13.5-30t30.5-14h505q17 0 30.5 14t13.5 30v250q0 121-86.5 207.5T1097 1592z" />
</svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-a4e42996 data-v-728d94e3 data-v-a4b0062b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-a4b0062b><span class="vpi-more-horizontal icon" data-v-a4b0062b></span></button><div class="menu" data-v-a4b0062b><div class="VPMenu" data-v-a4b0062b data-v-8b09b3ad><!----><!--[--><!--[--><div class="group translations" data-v-728d94e3><p class="trans-title" data-v-728d94e3>简体中文</p><!--[--><div class="VPMenuLink" data-v-728d94e3 data-v-4045af9d><a class="VPLink link" href="/nes-vue-docs/" data-v-4045af9d><!--[-->English<!--]--></a></div><!--]--></div><div class="group" data-v-728d94e3><div class="item appearance" data-v-728d94e3><p class="label" data-v-728d94e3>Appearance</p><div class="appearance-action" data-v-728d94e3><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-728d94e3 data-v-63d56946 data-v-5aa7a49b><span class="check" data-v-5aa7a49b><span class="icon" data-v-5aa7a49b><!--[--><span class="vpi-sun sun" data-v-63d56946></span><span class="vpi-moon moon" data-v-63d56946></span><!--]--></span></span></button></div></div></div><div class="group" data-v-728d94e3><div class="item social-links" data-v-728d94e3><div class="VPSocialLinks social-links-list" data-v-728d94e3 data-v-2ba99e91><!--[--><a class="VPSocialLink no-icon" href="https://github.com/taiyuuki/nes-vue" aria-label="github" target="_blank" rel="noopener" data-v-2ba99e91 data-v-235b8a9b><span class="vpi-social-github" /></a><a class="VPSocialLink no-icon" href="https://gitee.com/taiyuuki/nes-vue" aria-label target="_blank" rel="noopener" data-v-2ba99e91 data-v-235b8a9b><svg xmlns="http://www.w3.org/2000/svg" name="zi_tmGitee" viewBox="0 0 2000 2000">
<path fill="currentColor"
    d="M898 1992q183 0 344-69.5t283-191.5q122-122 191.5-283t69.5-344q0-183-69.5-344T1525 477q-122-122-283-191.5T898 216q-184 0-345 69.5T270 477Q148 599 78.5 760T9 1104q0 183 69.5 344T270 1731q122 122 283 191.5t345 69.5zm199-400H448q-17 0-30.5-14t-13.5-30V932q0-89 43.5-163.5T565 649q74-45 166-45h616q17 0 30.5 14t13.5 31v111q0 16-13.5 30t-30.5 14H731q-54 0-93.5 39.5T598 937v422q0 17 14 30.5t30 13.5h416q55 0 94.5-39.5t39.5-93.5v-22q0-17-14-30.5t-31-13.5H842q-17 0-30.5-14t-13.5-31v-111q0-16 13.5-30t30.5-14h505q17 0 30.5 14t13.5 30v250q0 121-86.5 207.5T1097 1592z" />
</svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-a4e42996 data-v-5c02fb6f><span class="container" data-v-5c02fb6f><span class="top" data-v-5c02fb6f></span><span class="middle" data-v-5c02fb6f></span><span class="bottom" data-v-5c02fb6f></span></span></button></div></div></div></div><div class="divider" data-v-a4e42996><div class="divider-line" data-v-a4e42996></div></div></div><!----></header><!----><!----><div class="VPContent is-home" id="VPContent" data-v-bf87cd52 data-v-0d5877cf><div class="VPHome" data-v-0d5877cf data-v-b94ee8b5><!--[--><!--]--><div class="VPHero has-image VPHomeHero" data-v-b94ee8b5 data-v-34afeecd><div class="container" data-v-34afeecd><div class="main" data-v-34afeecd><!--[--><!--]--><!--[--><h1 class="name" data-v-34afeecd><span class="clip" data-v-34afeecd>NES Vue</span></h1><p class="text" data-v-34afeecd>用于Vue 3的NES模拟器组件</p><!----><!--]--><!--[--><!--]--><div class="actions" data-v-34afeecd><!--[--><div class="action" data-v-34afeecd><a class="VPButton medium alt" href="https://play.vuejs.org/#eNqtV9lu2zgU/RWOX+wAtpw0LVB40k7SQTuYImmDLH2J8iBLlMVEIjUi5dgI/O9zuEmy46xoH1zxrueuZO57R2UZzGvam/QOZFyxUhFJVV1+DjkrSlEpck8qmg5JLIqyVjQhK5JWoiB9KPU7Qj+o/FXThsupHFmJkMeCS0VmUUGPGT4+kauQExL2MqVKORmPVcSWdX3LghlTWT0NmBg79fF5XdKKnEQVE+RLJSQZfL/cCcANe8O3G9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zBDd18MYQeX+ZpOpefdaHmz+jVhJGwNyd7urjeJDnTQe8OefZaPiqgMbqTgeN0brdAxMPgTvxrNTjKLCrT2CRUnHKoJzdm8wsyoMS8LPw2He8HHYA8JlCBbUoAFe+NWG8CsgEFJXE94t20g0I8WltPqpxmfdSRRnou774ambx73GINORuPbLfQbiX2rUZ/q+armiKHhKeQQ42XYX89/0AW+G2Yhklr34hNMTKfIa7OmjNiXmieA3ZEzaP81CUXzXcivC0W59EH5K3zl/jxAkv5+IvQW7n6w32Rx9T8laIlV" target="_blank" rel="noreferrer" data-v-34afeecd data-v-53e20bbf>在线游乐场</a></div><div class="action" data-v-34afeecd><a class="VPButton medium brand" href="/nes-vue-docs/zh/guide/getting-started.html" data-v-34afeecd data-v-53e20bbf>开始使用</a></div><!--]--></div><!--[--><!--]--></div><div class="image" data-v-34afeecd><div class="image-container" data-v-34afeecd><div class="image-bg" data-v-34afeecd></div><!--[--><!--[--><img class="VPImage image-src" src="/nes-vue-docs/nes-vue.svg" alt="NESVue" data-v-fdc0db77><!--]--><!--]--></div></div></div></div><!--[--><!--]--><!--[--><!--]--><div class="VPFeatures VPHomeFeatures" data-v-b94ee8b5 data-v-259c09e8><div class="container" data-v-259c09e8><div class="items" data-v-259c09e8><!--[--><div class="grid-6 item" data-v-259c09e8><div class="VPLink no-icon VPFeature" data-v-259c09e8 data-v-898c9229><!--[--><article class="box" data-v-898c9229><!----><h2 class="title" data-v-898c9229>💡易用</h2><p class="details" data-v-898c9229>简单引入就可以使用。</p><!----></article><!--]--></div></div><div class="grid-6 item" data-v-259c09e8><div class="VPLink no-icon VPFeature" data-v-259c09e8 data-v-898c9229><!--[--><article class="box" data-v-898c9229><!----><h2 class="title" data-v-898c9229>💾存档</h2><p class="details" data-v-898c9229>支持存档、读档。</p><!----></article><!--]--></div></div><div class="grid-6 item" data-v-259c09e8><div class="VPLink no-icon VPFeature" data-v-259c09e8 data-v-898c9229><!--[--><article class="box" data-v-898c9229><!----><h2 class="title" data-v-898c9229>📺TAS</h2><p class="details" data-v-898c9229>支持播放TAS录像。</p><!----></article><!--]--></div></div><div class="grid-6 item" data-v-259c09e8><div class="VPLink no-icon VPFeature" data-v-259c09e8 data-v-898c9229><!--[--><article class="box" data-v-898c9229><!----><h2 class="title" data-v-898c9229>🎮手柄</h2><p class="details" data-v-898c9229>支持手柄。</p><!----></article><!--]--></div></div><div class="grid-6 item" data-v-259c09e8><div class="VPLink no-icon VPFeature" data-v-259c09e8 data-v-898c9229><!--[--><article class="box" data-v-898c9229><!----><h2 class="title" data-v-898c9229>🔧金手指</h2><p class="details" data-v-898c9229>支持金手指。</p><!----></article><!--]--></div></div><div class="grid-6 item" data-v-259c09e8><div class="VPLink no-icon VPFeature" data-v-259c09e8 data-v-898c9229><!--[--><article class="box" data-v-898c9229><!----><h2 class="title" data-v-898c9229>👯双人</h2><p class="details" data-v-898c9229>支持双人玩家。</p><!----></article><!--]--></div></div><!--]--></div></div></div><!--[--><!--]--><div class="vp-doc container" style="--vp-offset:calc(50% - Infinitypx);" data-v-b94ee8b5 data-v-c73bed5a><!--[--><div style="position:relative;" data-v-b94ee8b5><div></div></div><!--]--></div></div></div><footer class="VPFooter" data-v-bf87cd52 data-v-ab64cfd3><div class="container" data-v-ab64cfd3><p class="message" data-v-ab64cfd3>Released under the MIT License.</p><p class="copyright" data-v-ab64cfd3>Copyright © 2023-2024 Taiyuuki</p></div></footer><!--[--><!--]--></div></div>
    <script>window.__VP_HASH_MAP__=JSON.parse("{\"zh_guide_directives.md\":\"CL6xbLEG\",\"zh_guide_events.md\":\"RA5AZhxz\",\"zh_guide_props.md\":\"CuSjNKeI\",\"zh_index.md\":\"B5S3gt-n\",\"zh_guide_controller.md\":\"rDh_Psa7\",\"guide_directives.md\":\"DzEn9GsF\",\"guide_controller.md\":\"DqXmxsox\",\"index.md\":\"TIvAVPbN\",\"guide_getting-started.md\":\"D7k6WEuX\",\"zh_guide_cheat.md\":\"CwqJkQVQ\",\"guide_events.md\":\"BybKOCzf\",\"guide_replay.md\":\"DjJ1uhwq\",\"zh_guide_replay.md\":\"BDeb48az\",\"guide_props.md\":\"F2aw2XSO\",\"zh_guide_getting-started.md\":\"fp5mfMNE\",\"guide_cheat.md\":\"_dMnCBd4\",\"zh_guide_methods.md\":\"wJr_jWFQ\",\"guide_methods.md\":\"FDRXj6iR\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"NES Vue\",\"description\":\"NES Vue documents\",\"base\":\"/nes-vue-docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/nes-vue.svg\",\"outline\":{\"level\":[2,3]},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2023-2024 Taiyuuki\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/taiyuuki/nes-vue\"},{\"icon\":{\"svg\":\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" name=\\\"zi_tmGitee\\\" viewBox=\\\"0 0 2000 2000\\\">\\n<path fill=\\\"currentColor\\\"\\n    d=\\\"M898 1992q183 0 344-69.5t283-191.5q122-122 191.5-283t69.5-344q0-183-69.5-344T1525 477q-122-122-283-191.5T898 216q-184 0-345 69.5T270 477Q148 599 78.5 760T9 1104q0 183 69.5 344T270 1731q122 122 283 191.5t345 69.5zm199-400H448q-17 0-30.5-14t-13.5-30V932q0-89 43.5-163.5T565 649q74-45 166-45h616q17 0 30.5 14t13.5 31v111q0 16-13.5 30t-30.5 14H731q-54 0-93.5 39.5T598 937v422q0 17 14 30.5t30 13.5h416q55 0 94.5-39.5t39.5-93.5v-22q0-17-14-30.5t-31-13.5H842q-17 0-30.5-14t-13.5-31v-111q0-16 13.5-30t30.5-14h505q17 0 30.5 14t13.5 30v250q0 121-86.5 207.5T1097 1592z\\\" />\\n</svg>\"},\"link\":\"https://gitee.com/taiyuuki/nes-vue\"}],\"search\":{\"provider\":\"local\"}},\"locales\":{\"root\":{\"label\":\"English\",\"lang\":\"en\",\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/guide/getting-started\"}],\"sidebar\":[{\"text\":\"Guide\",\"items\":[{\"text\":\"Getting Started\",\"link\":\"/guide/getting-started\"},{\"text\":\"Props\",\"link\":\"/guide/props\"},{\"text\":\"Controller\",\"link\":\"/guide/controller\"},{\"text\":\"Directives\",\"link\":\"/guide/directives\"},{\"text\":\"Events\",\"link\":\"/guide/events\"},{\"text\":\"Methods\",\"link\":\"/guide/methods\"},{\"text\":\"TAS Video\",\"link\":\"/guide/replay\"},{\"text\":\"Cheat Code\",\"link\":\"/guide/cheat\"}]}],\"outlineTitle\":\"Outline\"}},\"zh\":{\"label\":\"简体中文\",\"lang\":\"zh-CN\",\"themeConfig\":{\"nav\":[{\"text\":\"主页\",\"link\":\"/zh/index\"},{\"text\":\"API\",\"link\":\"/zh/guide/getting-started\"}],\"sidebar\":[{\"text\":\"指南\",\"items\":[{\"text\":\"开始使用\",\"link\":\"/zh/guide/getting-started\"},{\"text\":\"属性\",\"link\":\"/zh/guide/props\"},{\"text\":\"控制器\",\"link\":\"/zh/guide/controller\"},{\"text\":\"指令\",\"link\":\"/zh/guide/directives\"},{\"text\":\"事件\",\"link\":\"/zh/guide/events\"},{\"text\":\"方法\",\"link\":\"/zh/guide/methods\"},{\"text\":\"播放录像\",\"link\":\"/zh/guide/replay\"},{\"text\":\"金手指\",\"link\":\"/zh/guide/cheat\"}]}],\"outlineTitle\":\"目录\"}}},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
    
  </body>
</html>